Skip to content

Bump date-and-time from 3.6.0 to 4.5.0#2155

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/date-and-time-4.5.0
Closed

Bump date-and-time from 3.6.0 to 4.5.0#2155
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/date-and-time-4.5.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 12, 2026

Bumps date-and-time from 3.6.0 to 4.5.0.

Release notes

Sourced from date-and-time's releases.

v4.5.0

What's Changed

Major Changes

  • New defaultDate option: parse() and isValid() now accept a defaultDate object (ParsedComponents) to supply fallback values for date/time components missing from the format string — useful for parsing time-only, month-day, or other partial date strings
  • ParsedComponents interface: Extracted from PreparseResult into parser.ts as a standalone, reusable interface; PreparseResult now extends it
  • Validation improvement: isValid() validates defaultDate components (e.g. an out-of-range H in defaultDate returns false); leap-day validation now respects a defaultDate.Y context
  • Precedence rule: defaultDate.Z (timezone offset in minutes) takes precedence over the timeZone option when both are present

Full Changelog: knowledgecode/date-and-time@v4.4.0...v4.5.0

v4.4.0

What's Changed

Major Changes

  • New utility functions: getDaysInMonth, getISOWeek, getISOWeekYear added to public API
  • New plugins: week (ISO 8601 week formatting), quarter (quarter-of-year), timestamp (Unix timestamp seconds/milliseconds)
  • Bug fixes: timezone name mapping corrections (Falkland, Greenland, Hawaii-Aleutian, Macao, and 10+ additions)
  • Docs: CDN usage examples added to README, formatting improved across all pages

Full Changelog: knowledgecode/date-and-time@v4.3.1...v4.4.0

v4.3.1

What's Changed

Full Changelog: knowledgecode/date-and-time@v4.3.0...v4.3.1

v4.3.0

What's Changed

  • Add IANA timezone string support to all date manipulation functions (addDays, addMonths, addYears, parse, format, etc.)
  • Fix timezone offset range and month boundary handling in isValid
  • Update documentation to reflect v4.3.0 API changes

Full Changelog: knowledgecode/date-and-time@v4.2.0...v4.3.0

v4.2.0

What's Changed

... (truncated)

Commits
  • b505b94 Merge pull request #124 from knowledgecode/develop
  • 702ef4c chore: bump version to 4.5.0 and update dev dependencies
  • a231669 docs: document defaultDate option and add inline interface definitions
  • 1c0ddeb test: add tests for defaultDate option in parse() and isValid()
  • 862161f feat: add defaultDate option to parse/isValid for partial date string support
  • 80dec7b Merge pull request #123 from knowledgecode/develop
  • f63a74a docs: remove redundant h1 headings from all docs pages
  • cd1ac2b docs: improve locales, timezones, homepage, and fix Aside syntax
  • bbef3bd fix(build): change output dir to pages, add custom styles and favicon
  • 5e00b13 fix: add frontmatter titles, fix hero image and sidebar links for starlight
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [date-and-time](https://github.com/knowledgecode/date-and-time) from 3.6.0 to 4.5.0.
- [Release notes](https://github.com/knowledgecode/date-and-time/releases)
- [Commits](knowledgecode/date-and-time@v3.6.0...v4.5.0)

---
updated-dependencies:
- dependency-name: date-and-time
  dependency-version: 4.5.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot requested a review from graduta as a code owner May 12, 2026 10:01
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 12, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.71%. Comparing base (ca5d12b) to head (8520aaa).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2155      +/-   ##
==========================================
- Coverage   45.95%   45.71%   -0.24%     
==========================================
  Files        1036     1036              
  Lines       17155    17155              
  Branches     3118     3118              
==========================================
- Hits         7883     7843      -40     
- Misses       9272     9312      +40     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@graduta graduta closed this May 20, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 20, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/date-and-time-4.5.0 branch May 20, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Development

Successfully merging this pull request may close these issues.

1 participant